{include file="common/header" /}

{include file="common/memu" /}

<script type="text/javascript" src="/static/js/admin/arech.js"></script>
<script type="text/html" id="statusTpl">
    {{#  if(d.pay_status === '支付成功'){ }}
    <span style="color: #2ca02c;">{{ d.pay_status }}</span>
    {{#  } else { }}
    <span style="color: #ff5400;">{{ d.pay_status }}</span>
    {{#  } }}
</script>
<body>
<div id="pageAll">
    <div class="pageTop">
        <div >
            <img src="/static/index/img/coin02.png" /><span><a href="#">首页</a>&nbsp;-&nbsp;<a
                href="#">充值管理</a>&nbsp;-</span>&nbsp;充值记录
        </div>
    </div>

    <div id="content" style="width: 100%;">
        <blockquote class="layui-elem-quote" style="height: 100px;">
            <span class="layui-badge layui-bg-green">当前总充值金额：{$total_money}</span>
            <span class="layui-badge layui-bg-cyan">今日总充值金额：{$recharge}</span>
            <span class="layui-badge layui-bg-red">结算总金额：{$pay_amount}</span>
            <span class="layui-badge layui-bg-blue">结算中的金额：{$unpay_amount}</span>
            <span class="layui-badge layui-bg-orange" id="all_pay" style="display: none"></span>
            <span class="layui-badge layui-bg-orange" id="time_pay" style="display: none"></span>
            <form class="layui-form" style="float:right;width:100%">
                <!--<div class="layui-input-inline" style="margin:0;">-->
                <!--<div class="layui-input-inline">-->
                <!--<input type="text" name="exchange" placeholder="请输入商户号" autocomplete="off" class="layui-input">-->
                <!--</div>-->
                <!--</div>-->
                <div style="margin-bottom: 5px;">
                    <div class="layui-input-inline">
                        <input class="layui-input" name="start_time" placeholder="开始日" id="start_time">
                    </div>
                    <div class="layui-input-inline">
                        <input class="layui-input" name="first_time" placeholder="截止日" id="first_time">
                    </div>
                    <div class="layui-input-inline" style="margin:0;">
                        <div class="layui-input-inline">
                            <input type="text" name="order_number" placeholder="请输入订单号" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-input-inline" style="margin:0;">
                        <div class="layui-input-inline">
                            <input type="text" name="pay_order_number" placeholder="请输入支付订单号" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-input-inline" style="margin:0;">
                        <div class="layui-input-inline">
                            <input type="text" name="account" placeholder="请输入商户号" autocomplete="off" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-input-inline" style="margin:0;">
                        <div class="layui-input-inline">
                            <div class="layui-input-block" style="margin-left:0">
                                <select name="pay_status" lay-filter="aihao">
                                    <option value="" selected>请选择充值状态</option>
                                    <option value="1">充值成功</option>
                                    <option value="0">待支付</option>
                                    <option value="2">超时未支付</option>
                                    <option value="3">余额不足</option>
                                </select>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="layui-input-inline" style="margin:0;float: left">
                    <div class="layui-input-inline">
                        <div class="layui-input-block" style="margin-left:0">
                            <select name="pay_way" lay-filter="aihao">
                                <option value="" selected>请选择支付方式</option>
                                <option value="1">支付宝</option>
                                <option value="2">微信</option>
                                <option value="3">网银</option>
                                <option value="4">H5微信</option>
                                <option value="5">H5支付宝</option>
                                <!--<option value="6">手机QQ</option>-->
                            </select>
                        </div>
                    </div>
                    <div class="layui-input-inline">
                        <div class="layui-input-block" style="margin-left:0">
                            <select name="status" lay-filter="aihao">
                                <option value="" selected>--请选择结算状态--</option>
                                <option value="0">未结算</option>
                                <option value="1">已结算</option>
                            </select>
                        </div>
                    </div>
                    <div class="layui-input-inline">
                        <div class="layui-input-block" style="margin-left:0">
                            <select name="pay_type" lay-filter="aihao">
                                <option value="" selected>请选择第三方</option>
                                <option value="1">通联</option>
                                <option value="2">环迅</option>
                                <option value="3">千玺</option>
                                <!--<option value="4">爱加密</option>-->
                                <!--<option value="5">点缀</option>-->
                                <!--<option value="6">兴业</option>-->
                                <option value="8">快接</option>
                            </select>
                        </div>
                    </div>
                    <div class="layui-form-mid layui-word-aux" style="padding:0 !important;float:right;">
                        <button lay-filter="search" class="layui-btn" lay-submit><i class="fa fa-search" aria-hidden="true"></i> 查询</button>
                        <button lay-filter="export" class="layui-btn" lay-submit><i class="fa fa-search" aria-hidden="true"></i> 文件生成</button>
                    </div>
                </div>
            </form>
        </blockquote>

        <table id="arech" lay-filter="arech"></table>
        <!-- balance 表格 显示 end-->

        <script type="text/html" id="barDemo">
            <a class="layui-btn layui-btn-xs" lay-event="inquiry">订单结果查询</a>
        </script>
    </div>
    <!-- balance页面样式end -->
</div>

</body>